// const utils = require('../../../../utils/util.js')
Page({
    data: {
        writed :[]
    },
    onLoad: function (options) {
        this.xInit()
    },

    xInit: function () {
        wx.cloud.callFunction({
            name: 'digital_therapy',
            data: {
                action: "get_journal_List"
            }
        }).then(res => {
            let data = res.result
            this.setData({
              writed : data
            })
            
        })
    }
})